package cn.zero.service.impl;

import cn.zero.domain.Movie;
import cn.zero.domain.MovieTicket;
import cn.zero.mapper.MovieMapper;
import cn.zero.service.MovieService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MovieServiceImpl implements MovieService {
    @Autowired
    private MovieMapper movieMapper;


    @Override
    public MovieTicket loadById(Long id) {
        MovieTicket movieTicket = movieMapper.loadById(id);
        return movieMapper.loadById(id);
    }
}

